<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="utf-8"%>
<%@ include file="/public/pathvariable.jsp" %>
<!DOCTYPE html>
<html lang="en">

	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<meta http-equiv="pragma" content="no-cache"> 
		<meta http-equiv="Cache-Control" content="no-cache, must-revalidate"> 
		<meta http-equiv="expires" content="0">
		<title>频道信息编辑</title>
		<link rel="stylesheet" href="<%=basePath %>css/style.css">
		<link rel="stylesheet" href="<%=basePath %>css/msg.css">
		<link rel="stylesheet" href="<%=basePath %>css/ui_base.css">
		<link rel="stylesheet" href="<%=basePath %>css/f_style.css">
		<link rel="stylesheet" href="<%=basePath %>css/public.css">
	</head>
	<style>
		textarea:focus {
			outline: none;
		}
	</style>

	<body ng-app="editApp">
		<input type="hidden" id="headUserId" value="${userinfo.userId}" />
		<input type="hidden" id="headUserAccount" value="${userinfo.userAccount}" />
		<div class="right" ng-controller="editCtrl">
			<!--内容区-->
			<div class="msg_info_table">
			<form name="signup_form" novalidate>
				<table width="100%" border="0" cellspacing="1" cellpadding="0" class="mtable">
					<tr style="position: relative; z-index:5">
						<input type="hidden" id="domainIdSel" class="infoVal" />
						<th scope="row" width="80" height="50">所属站点</th>
						<td>
							<div ag-select title="所属站点以下拉选项点击生成内容为准，输入框手动输入仅为查询下拉选项提供辅助作用" style="display:inline;z-index:1000" ajaxs="<%=basePath%>domain/queryParamsByName.do?domain_name={{vm.domain_name}}" class="ui_s_id3" domain_name="vm.domain_name"></div>
<!-- 							<span class="error" style="height:26px;line-height:26px;float:left;">
								<small class="error" ng-show="flagSiteSelectType" style="color:red">
							        &nbsp;　* 请选择站点！
							    </small>
							</span> -->
						</td>
					</tr>
					<tr>
						<th scope="row" width="80" height="50">频道名称</th>
						<td>
							<input type="text" class="ui_text disui"  ng-model="vm.channel_name" style="width:600px" 
							ng-class="{error: signup_form.name.$dirty && signup_form.name.$invalid}" name="name" 
							required ng-minlength="1" ng-maxlength="100">
							<span class="error">
								<small class="error" ng-show="signup_form.name.$error.required" style="color:red">
									&nbsp; *频道名称不能为空!
								</small>
								<small class="error" ng-show="signup_form.name.$error.minlength||signup_form.name.$error.maxlength" style="color:red">
									&nbsp; *频道名称字符长度为1-100!
								</small>
							</span>
						</td>
					</tr>
					<tr>
						<th scope="row" width="80" height="50">频道网址</th>
						<td>
							<input type="text" class="ui_text disui" ng-model="vm.channel_url" style="width:600px"
							name="channel_url" ng-class="{error:signup_form.channel_url.$dirty&&signup_form.channel_url.$invalid}" required
							ng-minlength="1" ng-maxlength="250">
							<span class="error">
								<small class="error" ng-show="signup_form.channel_url.$error.required" style="color:red">
									&nbsp; *频道网址不能为空!
								</small>
								<small class="error" ng-show="signup_form.channel_url.$error.minlength||signup_form.channel_url.$error.maxlength" style="color:red">
									&nbsp; *频道网址字符长度为1-250!
								</small>
							</span>
						</td>
					</tr>
					<tr style="position: relative; z-index:4">
						<th scope="row" width="80" height="50">频道分类</th>
						<td>
                             <div class="ui_select selectListObj" style="float:left;">
                                <input type="hidden" id="setType" class="infoVal" />
                                <span class="ui_s_t" id="channel_typeId"></span>
                                <div class="ui_s_bk" style="display: none;">
                                    <a href="javascript:void(0)" type="News">新闻</a>
                                    <a href="javascript:void(0)" type="BBS">论坛</a>
<!--                                <a href="javascript:void(0)" type="PublicNotice">公告</a>
									<a href="javascript:void(0)" type="WeChat">微信</a>
                                    <a href="javascript:void(0)" type="Weibo">微博</a>
                                    <a href="javascript:void(0)" type="ResearchReport">研报</a>
                                    <a href="javascript:void(0)" type="BLOG">博客</a>
                                    <a href="javascript:void(0)" type="Live">视频</a>
                                    <a href="javascript:void(0)" type="EPaper">电子报</a> -->
                                </div>
                            </div>
                            <span class="error" style="height:26px;line-height:26px;float:left;">
								<small class="error" ng-show="flagChannelSelectType" style="color:red">
							        &nbsp;　* 请选择频道类型！
							    </small>
							</span>
						</td>
					</tr>
<!-- 					<tr>
						<th scope="row" width="80" height="50">标签</th>
						<td>
							<div style="display:none;" ng-bind="hiddenData"></div>
							<span title="{{content.tag_value}}">{{content.tag_value}}</span>
							<span>
								 <a href="javascript:void(0)" style="color:#1cb99a;" class="editExaDataBtn" title="标签" type="tagvalue_id" ids="{{content.tagvalue_id}}">&nbsp;&nbsp;选择 >>&nbsp;</a>
							</span>
						</td>
					</tr> -->
				</table>
				</form>
				<div class="btn_bk">
					<a href="javascript:void(0)" class="ui_btn yellow release" ng-click="domAjax('release')" id="publish">确定</a>
					<a href="javascript:void(0)" class="ui_btn green" onclick="window.parent.layer.closeAll();">取消</a>
				</div>
			</div>
			<!--内容区-->
		</div>

		<script src="<%=basePath %>js/jquery.min.1.8.2.js"></script>
		<script src="<%=basePath %>js/jquery.form.js"></script>
		<script src="<%=basePath %>js/jquery.easing.1.3.js"></script>
		<script src="<%=basePath %>js/layer/layer.min.js"></script>
		<script src="<%=basePath %>js/angular.min.1.2.5.js"></script>
		<script src="<%=basePath %>js/laydate/laydate.js"></script>
		<script src="<%=basePath %>js/config.js"></script>
		<link rel="stylesheet" href="<%=basePath %>js/Jcrop/css/jquery.Jcrop.css">
		<script src="<%=basePath %>js/Jcrop/js/jquery.Jcrop.js" defer></script>
		<script src="<%=basePath %>js/f_layout.js"></script>
		<script src="<%=basePath %>js/f_paging.js"></script>
		<script src="<%=basePath %>resource/js/angular.channelConfigEdit.js"></script>
		<!--<script src="<%=basePath %>resource/js/tapSelect.js"></script>-->
		<script>
			var basePath = "<%=basePath%>";
			$(function() {
				UI.message().base();
				$("#myDigest").css("min-height", "0");
				$("#myEditor").css("min-height", "80px");
			});
		</script>

		<div class="layerInfoArea f_zuZhiGuanLiLayer f_gongSiLieBiaoLayer" id="editExaDataLayer">
			<i class="closeBtn"></i>
			<div class="f_title" id="editExaData_tile">
				列表
			</div>
			<div class="CustomsSearch">
				<div class="texts"><label id="editExaData_listName">名称</label><input type="text" id="checkQueryInput" class="enterKeyDownElement2" /></div>
				<a href="javascript:void(0)" class="ui_btn w82 h30 green enterKeyDownElement" id="checkQueryBtn">查询</a>
			</div>
			<div id="CustomsAreaList" class="autoYHidden CustomsAreaList" style="max-height:260px;"></div>
			<div class="submitAreaa submitAreaaGoGo mTopBottom20Px">
				<div class="selectAllAreaGoGo">
					<div class="infoLlist"><span class="ui_checkbox allSel" checkedbtn="false" checkeddefault="false"></span>
						<font>全选</font>
					</div>
					<div class="infoLlist">
						<font class="reDefault">重置默认</font>
					</div>
				</div>
				<a href="javascript:void(0)" class="ui_btn yellow" id="editExaSubmitBtn">确定</a>
				<a href="javascript:void(0)" class="ui_btn green cancelLayer">取消</a>
			</div>
			<div class="divline"></div>
		</div>
		<style>
			.xubox_main {
				height: auto!important;
				max-height: 670px!important;
			}
			
			.xubox_dialog {
				height: 45px;
			}
			
			.f_ulList3 .f_list span.s04 {
				cursor: default;
			}
			
			.ui_select input.ui_s_t {
				top: 0px;
			}
			
			.ui_select .ui_s_bk a {
				text-overflow: ellipsis;
				white-space: nowrap;
				overflow: hidden;
			}
		</style>

	</body>

</html>